import request from '@/utils/request'

export function getMovieByType(type_id, page) {
  return request({
    url: '/api.php/provide/vod/at/json/?ac=list&t=' + type_id + '&pg=' + page,
    method: 'get',
  })
}

export function getMovieDetailByID(id) {
  return request({
    url: '/api.php/provide/vod/at/json/?ac=detail&ids='+ id,
    method: 'get',
  })
}